package com.hntx.joymusic.util;

import android.content.Context;

import java.io.File;

public class DeletePkgUtils {

    public static void deleteAll(Context context) {
        File file = new File(context.getCacheDir().getAbsolutePath());
        if ((file.exists()) && (file.isDirectory())) {
            for (File f : file.listFiles()) {
                f.delete();
            }
        }
    }
}
